package com.java2302.manufacturing.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.ToString;

import java.io.Serializable;
/**
 * 角色表(SysRole)实体类
 *
 * @author makejava
 * @since 2023-08-14 16:59:29
 */
@Table("sys_role")
@ToString
public class SysRole implements Serializable {
    private static final long serialVersionUID = -59983420610172776L;
/**
     * 角色编号
     */
    @Id(keyType = KeyType.Auto)
    private Integer rid;
/**
     * 角色名称
     */
    private String rname;


    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

}

